#ifndef SK_TRIANGLE_SHAPE_ITEM_H
#define SK_TRIANGLE_SHAPE_ITEM_H

#include "sk_game_item.h"

class QPainter;

namespace sk
{
    class TriangleShape;


    class TriangleShapeItem : public GameItem
    {
    public:
        TriangleShapeItem(GameItem * parent, int ind = 0);
        TriangleShape * shape();
        QGraphicsItem * createSceneItem();
        virtual void paint(QPainter * painter, const QStyleOptionViewItem & option, int row, int column);
        int numProperties();
        GameItemProperty *getProperty(int ind);
        GameItemType type();
        bool canDeleteFromProjectExplorer();
        void onPropertyChange(GameItemProperty * property);
    };

} // namespace sk

#endif // SK_TRIANGLE_SHAPE_ITEM_H
